3.1.12 \(\int x^2 \, dx\) [12]

Optimal. Leaf size=7 \[ \frac {x^3}{3} \]

[Out]

1/3*x^3

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {30} \begin {gather*} \frac {x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2,x]

[Out]

x^3/3

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^2 \, dx &=\frac {x^3}{3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 7, normalized size = 1.00 \begin {gather*} \frac {x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2,x]

[Out]

x^3/3

________________________________________________________________________________________

Mathics [A]
time = 1.51, size = 5, normalized size = 0.71 \begin {gather*} \frac {x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[x^2,x]')

[Out]

x ^ 3 / 3

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 6, normalized size = 0.86

method result size
gosper \(\frac {x^{3}}{3}\) \(6\)
default \(\frac {x^{3}}{3}\) \(6\)
norman \(\frac {x^{3}}{3}\) \(6\)
risch \(\frac {x^{3}}{3}\) \(6\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2,x,method=_RETURNVERBOSE)

[Out]

1/3*x^3

________________________________________________________________________________________

Maxima [A]
time = 0.24, size = 5, normalized size = 0.71 \begin {gather*} \frac {1}{3} \, x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2,x, algorithm="maxima")

[Out]

1/3*x^3

________________________________________________________________________________________

Fricas [A]
time = 0.29, size = 5, normalized size = 0.71 \begin {gather*} \frac {1}{3} \, x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2,x, algorithm="fricas")

[Out]

1/3*x^3

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 3, normalized size = 0.43 \begin {gather*} \frac {x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2,x)

[Out]

x**3/3

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 6, normalized size = 0.86 \begin {gather*} \frac {x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2,x)

[Out]

1/3*x^3

________________________________________________________________________________________

Mupad [B]
time = 0.01, size = 5, normalized size = 0.71 \begin {gather*} \frac {x^3}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2,x)

[Out]

x^3/3

________________________________________________________________________________________